﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Dtos
{
    public class SheepRaiseDeathDto : Aubuit
    {
        public int SheepRaiseDeathId { get; set; }
        /// <summary>
        /// 死亡日期
        /// </summary>
        public DateTime SheepRaiseDeathData { get; set; }
        /// <summary>
        /// 档案编号(养只耳号)
        /// </summary>
        public int SleepInforId { get; set; }
        public string? EarNumber { get; set; }//耳号
        /// <summary>
        /// 死亡原因ID
        /// </summary>
        public int SheepDeathId { get; set; }
        /// <summary>
        /// 死亡原因名称
        /// </summary>
        public string? SheepDeathName { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? SheepRaiseDeathCode { get; set; }
        public int VarietyId { get; set; }//品种编号
        public string? VarietyName { get; set; }//品种名称
        /// <summary>
        /// 性别  1--公  2--母
        /// </summary>
        public int Gender { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int? BreedStatuId { get; set; }
        public int CottagesId { get; set; }//主键id
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string CottageName { get; set; }
        public int FieIdId { get; set; }
        /// <summary>
        /// 栏位名称
        /// </summary>
        public string? FieIdName { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime SleepBirthDate { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int? UpdateId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        public int? DeleteId { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deletes { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public int? ExamId { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ExamTime { get; set; }
        public int AgeDay { get; set; }
    }
}
